﻿using EkStudio.com.bean.xml.reflection;
using EkStudio.com.bean.xml.RootInterface;
using System;

namespace EkStudio.com.bean.xml.BillModule
{
    public class BillModuleBehavior: BillObjectInterface
    {
        private bool archive = false;

        private bool attachment = false;

        private bool catalogue = false;

        private bool reminder = false;

        private bool tags = false;

        [Xml]
        public bool Archive
        {
            get
            {
                return archive;
            }

            set
            {
                archive = value;
            }
        }
        [Xml]
        public bool Attachment
        {
            get
            {
                return attachment;
            }

            set
            {
                attachment = value;
            }
        }
        [Xml]
        public bool Catalogue
        {
            get
            {
                return catalogue;
            }

            set
            {
                catalogue = value;
            }
        }
        

        [Xml]
        public bool Reminder
        {
            get
            {
                return reminder;
            }

            set
            {
                reminder = value;
            }
        }
        [Xml]
        public bool Tags
        {
            get
            {
                return tags;
            }

            set
            {
                tags = value;
            }
        }

        [XmlTransient]
        public object ParentBean
        {
            get
            {
                return null;
            }

            set
            {

            }
        }

        public object Clone()
        {
            BillModuleBehavior clone = new BillModuleBehavior();
            clone.Archive=archive;
            clone.Attachment=attachment;
            clone.Catalogue=catalogue;
            clone.Reminder=reminder;
            clone.Tags=tags;
            return clone;
        }
    }
}
